//
//  BKUser.h
//  XPhoto
//
//  Created by baboy on 2019/6/26.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "Model.h"

NS_ASSUME_NONNULL_BEGIN

@interface BKUser : Model
@property(nonatomic, assign) NSInteger id;
@property(nonatomic, assign) NSInteger uid;
@property(nonatomic, strong) NSString *nickname;
@property(nonatomic, strong) NSString *_Nullable userName;
@property(nonatomic, strong) NSString *password;
@property(nonatomic, strong) NSString *name;

+ (BOOL)login:(id)user;
+ (BOOL)updateLoginUserInfo:(BKUser *) user;
+ (void)logout;
+ (id)currentUser;
+ (void)loginWithAuthToken:(id)authToken;
+ (id)authToken;
@end

NS_ASSUME_NONNULL_END
